﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$_C['name']}</title>
<meta name="keywords" content="{$_C['keyword']}" />
<meta name="description" content="{$_C['abstract']}" />
<link rel="stylesheet" href="Home/webroot/default/images/style.css" />
<link rel="stylesheet" href="Home/webroot/default/images/home.css" />
<SCRIPT src="{$hy_path}js/jquery-1.3.2.min.js" type=text/javascript></SCRIPT>
<SCRIPT src="{$hy_path}js/ddsmoothmenu.js" type=text/javascript></SCRIPT>
<script src="{$hy_path}js/yu.js" type="text/javascript"></script>
<script src="{$hy_path}js/tb.js" type="text/javascript"></script>
</head>
<body>

{include file='../Common/header.html'}
<div id="main">
	<!-- left -->
	<div id="main-left">
    	<h3 class="title-33">特色礼品hungry模板
                          
                           </h3>
        <div class="left-v1">
        	<div class="left-v1-l">
            <div class="up-down-top"><a href="javascript:void(0)"><img src="Home/webroot/default/images/up.gif" /></a></div>
               <div class="ul_contain">
            	
                <ul class="up-down">
                {foreach from=$spec_gift item=gift}
                	<li><a href="index.php?g=home&m=pro&a=view&id={$gift.id}" target="_blank"><img alt="{$gift.title}" src="{$gift.thumb}" /></a></li>
                    {/foreach}
                </ul>
                
                </div>
                <div class="up-down-bot"><a href="javascript:void(0)"><img src="Home/webroot/default/images/down.gif" /></a></div>
            </div>
            <div class="left-v1-r">
            	<div id="MainPromotionBanner">
                    <div id="SlidePlayer">
                        <ul class="Slides">
                        {foreach from=$index_ad item=ad}
                          <li>{$ad}</li>
                           {/foreach}
                        </ul>
                    </div>
                   <script type="text/javascript">
                  TB.widget.SimpleSlide.decoration('SlidePlayer', { eventType:'mouse', effect:'scroll'});
                  </script>
                </div>
                <ul class="news">
                  {foreach from=$spec_gift item=gift}
                	<li><em>&#8226;</em><div><a href="index.php?g=home&m=pro&a=view&id={$gift.id}">{$gift.title}</a></div><span>{$gift.created|date_format:"%Y-%m-%d"}</span></li>
                 {/foreach}
                    <li class="end"><div> ... ...</div><span><b><a href="index.php?g=home&m=content&a=index&id=7" class="lan">【更多】</a></b></span></li>
                </ul>
            </div>
        </div>
        <h3 class="title-33">广州图库</h3>
        <div class="img-li">
        	<ul class="img-list">
            	 {foreach from=$gzgallery item=album}
                <li><a title="{$album.title}" href="index.php?g=home&m=photo&a=album&id={$album.id}"><img src="{$album.cover}" /></a><span><a href="index.php?g=home&m=photo&a=album&id={$album.id}">{$album.title}</a></span></li>
                {/foreach}
            </ul>
            <div class="more"><b><a href="index.php?g=home&m=content&a=index&id=15" target="_blank" class="lan">【更多】</a></b></div>
        </div>
    </div>
    
    <!-- left end -- right -->
    
    <div id="main-right">
    	<h3 class="title-33">广州百科</h3>
        <div id="right-box">
        	<div class="v-r">
            	<div class="text-img b">
                	
                    <b>关于广州</b><br />
                   
                </div>
                <ul>
                  {foreach from=$aboutgz name=aboutgz item=art}
                   {if $smarty.foreach.aboutgz.first}
                   <li style="background:none"> <span><em>&#8226;</em> {$art.title}</span>
                   <div class="img"><a href="index.php?g=home&m=article&a=view&id={$art.id}"><img src="{$art.thumb}" /></a></div>
                   <div> {$art.content}</div><a href="index.php?g=home&m=article&a=view&id={$art.id}" class="red">[全文]</a></li>
                   {else}
                   
                	<li><em>&#8226;</em> <a target="_blank" href="index.php?g=home&m=article&a=view&id={$art.id}">{$art.title}</a></li>
                   {/if}
                  {/foreach}
                  
                    <li><span class="xu">... ...</span><b class="more"><a href="index.php?g=home&m=content&a=index&id=12" class="lan">【更多】</a></b></li>
                </ul>
            </div>
            
            <div class="v-r-ge"></div>
            <div class="v-r">
            	<div class="text-img b">
                	
                    <b>食在广州</b>
                    
                </div>
                <ul>
                  {foreach from=$gzfood name=gzfood item=art}
                   {if $smarty.foreach.gzfood.first}
                   <li style="background:none"> <span><em>&#8226;</em> {$art.title}</span>
                   <div class="img"><a href="index.php?g=home&m=article&a=view&id={$art.id}"><img src="{$art.thumb}" /></a></div>
                   <div>{$art.content}</div>
                   <p>
                   <a href="index.php?g=home&m=article&a=view&id={$art.id}" class="red">[全文]</a></p></li>
                   {else}
                   
                	<li><em>&#8226;</em> <a target="_blank" href="index.php?g=home&m=article&a=view&id={$art.id}">{$art.title}</a></li>
                   {/if}
                  {/foreach}
                  
                    <li><span class="xu">... ...</span><b class="more"><a href="index.php?g=home&m=content&a=index&id=13" class="lan">【更多】</a></b></li>
                </ul>
            </div>
            
            <div class="v-r-ge"></div>
            <div class="v-r">
            	<div class="text-img b">
                	
                    <b>游在广州</b><br />
                   
                </div>
                <ul>
                  {foreach from=$gztrip name=gztrip item=art}
                   {if $smarty.foreach.gztrip.first}
                   <li style="background:none"> <span><em>&#8226;</em> {$art.title}</span>
                   <div class="img"><a href="index.php?g=home&m=article&a=view&id={$art.id}"><img src="{$art.thumb}" /></a></div>
                   <div> {$art.content}</div><a href="index.php?g=home&m=article&a=view&id={$art.id}" class="red">[全文]</a></li>
                   {else}
                   
                	<li><em>&#8226;</em> <a target="_blank" href="index.php?g=home&m=article&a=view&id={$art.id}">{$art.title}</a></li>
                   {/if}
                  {/foreach}
                  
                    <li><span class="xu">... ...</span><b class="more"><a href="index.php?g=home&m=content&a=index&id=14" class="lan">【更多】</a></b></li>
                </ul>
            </div>
            
            <div class="v-r-ge"></div>
            <div class="v-r">
            	<div class="text-img b">
                	
                    <b>广州故事</b><br />
                 
                </div>
                <ul>
                  {foreach from=$gzstory name=gzstory item=art}
                   {if $smarty.foreach.gzstory.first}
                   <li style="background:none"> <span><em>&#8226;</em> {$art.title}</span>
                   <div class="img"><a href="#"><img src="{$art.thumb}" /></a></div>
                   <div> {$art.content}</div><a href="index.php?g=home&m=article&a=view&id={$art.id}" class="red">[全文]</a></li>
                   {else}
                   
                	<li><em>&#8226;</em> <a target="_blank" href="index.php?g=home&m=article&a=view&id={$art.id}">{$art.title}</a></li>
                   {/if}
                  {/foreach}
                  
                    <li><span class="xu">... ...</span><b class="more"><a href="index.php?g=home&m=content&a=index&id=11" class="lan">【更多】</a></b></li>
                </ul>
            </div>
            
        </div>
    </div>
    <!-- right end -->
    
</div>

<!-- footer -->
<script>
$(function(){
		
		var ul_width=parseInt($('.up-down').css('height'));
		var span_width=parseInt($('.ul_contain').css('height'));
		
		var max_len=span_width-ul_width;
		$('.up-down-bot a').click(function(){
			
			var ul_left=$('.up-down').css('top');
		
			if(parseInt(ul_left)>max_len&&max_len<0)
			{
				
			$('.up-down').css('top',parseInt(ul_left)-61);
			}
			change_button();
			}
		
		);
		
		$('.up-down-top a').click(function(){
			var ul_left=$('.up-down').css('top');
			
			if(parseInt(ul_left)<0&&max_len<0)
			{
			$('.up-down').css('top',parseInt(ul_left)+61);
			 
			}
			change_button();
			
			
			}
		
		);
		
		
		function change_button()
		{
			
			
		}
		})

</script>
{include file='../Common/footer.html'}

</body>
</html>
